
<ul id="suser_tree" class="easyui-tree" data-options="
			url: '/suser/?act=listuser&login_id={{.login_id}}',
			method: 'get',
			animate: true,
			onDblClick: function(node){
            if(node.attributes.type ==1)//分类才能修改
				$(this).tree('beginEdit',node.target);
            },
            onLoadSuccess:function(node){
				$(this).tree('enableDnd');
            },
	        onAfterEdit: category_updateTree,  
            onDrop: category_moveTree,      
			onContextMenu: function(e,node){
				e.preventDefault();
				$(this).tree('select',node.target);
                if(nodlogin_id={{.login_id}} && e.attributes.type ==1)
                {
                    $('#cc_mm').menu('show',{
                        left: e.pageX,
                        top: e.pageY
                    });
                }
                else{
                    $('#cc_card_mm').menu('show',{
                        left: e.pageX,
                        top: e.pageY
                    });                
                }
			}
		"></ul>